<div class="admin-sidebar">
    <ul class="am-list admin-sidebar-list" id="caidan">
        <li><a href="#"><span class="am-icon-home"></span>首页</a></li>

        <li class="admin-parent">
            <a class="am-cf" data-am-collapse="{target: '#collapse-nav7'}"><span
                    class="am-icon-pencil-square-o"></span>前台管理<span
                    class="am-icon-angle-right am-fr am-margin-right"></span></a>
            <ul class="am-list am-collapse admin-sidebar-sub am-in" id="collapse-nav7">
            <li><a href="{:U('Front/linkList')}" class="am-cf">链接配置</a></li>
            <li><a href="{:U('Front/docterList')}">医生配置</a></li>
            <li><a href="{:U('Front/hosList')}">医院配置</a></li>
            </ul>
        </li>

        <li class="admin-parent">
            <a class="am-cf" data-am-collapse="{target: '#collapse-nav'}"><span class="am-icon-cart-plus"></span> 订单管理<span
                    class="am-icon-angle-right am-fr am-margin-right"></span></a>
            <ul class="am-list am-collapse admin-sidebar-sub am-in" id="collapse-nav">
                <!--<if condition="(session('role') eq 0) OR (session('role') eq 5)">-->
                <li><a href="{:U('Order/orderList')}" data-am-popover="{content:'预约单',trigger:'hover focus'}">已预约</a></li>
                <!--</if>-->
                <!--<if condition="session('role') eq 0 OR (session('role') eq 2)">-->
                <!--<li><a href="{:U('Order/orderList3')}" data-am-popover="{content:'预约单',trigger:'hover focus'}">已派单</a></li>-->
                <!--</if>-->
                <!--<if condition="session('role') eq 4">-->
                <!--<li><a href="{:U('Order/orderList4')}" >已量衣</a></li>-->
                    <!--<else/>-->
                    <!--&lt;!&ndash;多工厂&ndash;&gt;-->
                    <!--<li><a data-am-collapse="{target: '#collapse-gc'}"><span class="am-icon-hand-o-right"></span>已量衣</a></li>-->
                    <!--<ul class="am-list am-collapse admin-sidebar-sub am-in" id="collapse-gc">-->
                    <!--<li><a href="{:U('Order/orderList2')}" data-am-popover="{content:'新订单',trigger:'hover focus'}">待分配</a></li>-->
                    <!--<li><a href="{:U('Order/orderList2_1')}" data-am-popover="{content:'新订单',trigger:'hover focus'}">已分配</a></li>-->
                        <!--</ul>-->
                <!--</if>-->
               <!--已完成子菜单-->
                    <!--<li><a data-am-collapse="{target: '#collapse-end'}"><span class="am-icon-hand-o-right"></span>已完成</a></li>-->
                <!--<ul class="am-list am-collapse admin-sidebar-sub am-in" id="collapse-end">-->
                    <!--<if condition="session('role') eq 4">-->
                        <!--<li><a href="{:U('Order/endList_gc')}">完工单</a></li>-->
                        <!--<else/><li><a href="{:U('Order/endList')}">工厂完工单</a></li>-->
                    <!--</if>-->
                <!--<if condition="session('role') neq 4">-->
                    <!--<li><a href="{:U('Order/psList')}" data-am-popover="{content:'订单状态为待配送',trigger:'hover focus'}">待配送</a></li>-->
                <!--</if>-->
                <!--<if condition="session('role') neq 4">-->
                    <!--<li><a href="{:U('Order/ps_endList')}" data-am-popover="{content:'订单状态为已配送',trigger:'hover focus'}">已配送</a></li>-->
                <!--</if>-->
                <!--<if condition="session('role') eq 4">-->
                    <!--<li><a href="{:U('Order/returnList_gc')}">返工单</a></li>-->
                    <!--<else/><li><a href="{:U('Order/returnList')}" data-am-popover="{content:'订单状态为返工单',trigger:'hover focus'}">返工单</a></li>-->
                <!--</if>-->
                    <!--</ul>-->
            </ul>
        </li>
<!--<if condition="session('role') eq 0 OR (session('role') eq 5) OR (session('role') eq 2)">-->
            <li class="admin-parent">
                <a class="am-cf" data-am-collapse="{target: '#collapse-nav3'}"><span class="am-icon-user-plus"></span>
                    用户管理<span class="am-icon-angle-right am-fr am-margin-right"></span></a>
                <!--<ul class="am-list am-collapse admin-sidebar-sub am-in" id="collapse-nav3">-->
                    <!--<li><a href="{:U('User/userList')}" class="am-cf">客户列表</a></li>-->
                    <!--<if condition="session('role') eq 0">-->
                    <!--<li><a href="{:U('User/userList2')}">员工列表</a></li>-->
                    <!--</if>-->
                <!--</ul>-->
            </li>
<!--</if>-->
        <!--<if condition="session('role') eq 0">-->
            <li class="admin-parent">
                <a class="am-cf" data-am-collapse="{target: '#collapse-nav2'}"><span
                        class="am-icon-pencil-square-o"></span>权限管理<span
                        class="am-icon-angle-right am-fr am-margin-right"></span></a>
                <!--<ul class="am-list am-collapse admin-sidebar-sub am-in" id="collapse-nav2">-->
                    <!--<li><a href="{:U('User/create')}" class="am-cf">创建账号</a></li>-->
                    <!--<li><a href="{:U('Basic/perAllot')}">权限分配</a></li>-->
                <!--</ul>-->
            </li>
            <li class="admin-parent">
                <a class="am-cf" data-am-collapse="{target: '#collapse-nav4'}"><span
                        class="am-icon-sort-alpha-asc"></span>参数管理<span
                        class="am-icon-angle-right am-fr am-margin-right"></span></a>
                <!--<ul class="am-list am-collapse admin-sidebar-sub am-in" id="collapse-nav4">-->
                    <!--<li><a href="{:U('Basic/colorList')}" class="am-cf">面料管理</a></li>-->
                <!--</ul>-->
            </li>
            <li class="admin-parent">
                <a class="am-cf" data-am-collapse="{target: '#collapse-nav5'}"><span
                        class="am-icon-money"></span>财务管理<span
                        class="am-icon-angle-right am-fr am-margin-right"></span></a>
                <!--<ul class="am-list am-collapse admin-sidebar-sub am-in" id="collapse-nav5">-->
                    <!--<li><a href="{:U('Finance/gcPayList')}" class="am-cf">工厂</a></li>-->
                    <!--<li><a href="{:U('Finance/ltPayList')}" class="am-cf">量体</a></li>-->
                    <!--<li><a href="{:U('Finance/collectionList')}" class="am-cf">收款</a></li>-->
                    <!--<li><a href="#" class="am-cf">销售</a></li>-->
                <!--</ul>-->
            </li>
            <li class="admin-parent">
                <a class="am-cf" data-am-collapse="{target: '#collapse-nav6'}"><span
                        class="am-icon-bar-chart"></span>统计管理<span
                        class="am-icon-angle-right am-fr am-margin-right"></span></a>
                <!--<ul class="am-list am-collapse admin-sidebar-sub am-in" id="collapse-nav6">-->
                    <!--<li><a href="{:U('Count/returnList')}" class="am-cf">返工记录</a></li>-->
                <!--</ul>-->
            </li>
        <!--</if>-->
    </ul>
</div>